package com.prik.command.products;

/**
 * 电灯
 **/
public class Light {

    public String tag;

    public Light(String tag) {
        this.tag = tag;
    }

    public void on() {
        System.out.println("the " + tag + " light is on...");
    }

    public void off() {
        System.out.println("the " + tag + " light is off...");
    }
}